package com.hongdee.scm.allocationorder.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Mr. Xu on 2017/5/15.
 * 调拨单
 */
@Entity
@Table(name = "t_scm_allocation_order")
public class TScmAllocationOrder extends BaseEntity{
    /**
     * 调拨单编号
     */
    @Column(name = "allocation_order_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '调拨单编号'")
    private String allocationOrderNum;
    /**
     * 发出仓库
     */
    @Column(name = "from_warehouse", length = 32, columnDefinition = "VARCHAR(32) COMMENT '发出仓库'")
    private String fromWarehouse;
    /**
     * 目标仓库
     */
    @Column(name = "aim_warehouse", length = 32, columnDefinition = "VARCHAR(32) COMMENT '目标仓库'")
    private String aimWarehouse;
    /**
     * 调拨状态
     */
    @Column(name = "allocation_status", length = 1, columnDefinition = "VARCHAR(1) COMMENT '调拨状态'")
    private String allocationStatus;
    /**
     * 调拨类型
     */
    @Column(name = "allocation_type", length = 1, columnDefinition = "VARCHAR(1) COMMENT '调拨类型'")
    private String allocationType;
    /**
     * 调拨原因
     */
    @Column(name = "allocation_reason", length = 255, columnDefinition = "VARCHAR(255) COMMENT '调拨原因'")
    private String allocationReason;
    /**
     * 调拨数量
     */
    @Column(name = "allocation_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '调拨数量'")
    private String allocationNum;
    /**
     * 调拨时间
     */
    @Column(name = "allocation_date", length = 32, columnDefinition = "VARCHAR(32) COMMENT '调拨时间'")
    private String allocationDate;
    /**
     * 申请人
     */
    @Column(name = "applicant", length = 32, columnDefinition = "VARCHAR(32) COMMENT '申请人'")
    private String applicant;

    /**
     * 审批状态
     */
    @Column(name = "current_approval_status", length = 32, columnDefinition = "VARCHAR(32) COMMENT '审批状态'")
    private String currentApprovalStatus;


    /**
     * 提交时间
     */
    @Column(name = "submit_date", length = 32, columnDefinition = "VARCHAR(32) COMMENT '提交时间'")
    private String submitDate;
    /**
     * 审批完成时间
     */
    @Column(name = "finish_date", length = 32, columnDefinition = "VARCHAR(32) COMMENT '审批完成时间'")
    private String finishDate;
    /**
     * 出库时间
     */
    @Column(name = "out_warehouse_date", length = 32, columnDefinition = "VARCHAR(32) COMMENT '出库时间'")
    private String outWarehouseDate;
    /**
     * 预计回库时间
     */
    @Column(name = "estimate_back_date", length=32, columnDefinition = " VARCHAR(32) COMMENT '预计回库时间' ")
    private String estimateBackDate;
    /**
     * 预计出库天数
     */
    @Column(name = "estimate_out_day", length=32, columnDefinition = " VARCHAR(32) COMMENT '预计出库天数' ")
    private String estimateOutDay;
    /**
     * 公司id
     */
     @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司id'")
     private String companyId;

    /**
     * 月结状态0未月结 1已月结
     */
    @Column(name = "monthly_status", length=1, columnDefinition = " VARCHAR(1) COMMENT '月结状态0未月结 1已月结' ")
    private String monthlyStatus;

    //融资方式
    @Column(name = "rongzi", length=1, columnDefinition = " VARCHAR(2) COMMENT '融资方式' ")
    private String rongzi;

    //交款金额
    @Column(name = "pay_money", length=255, columnDefinition = " VARCHAR(255) COMMENT '交款金额' ")
    private String payMoney;

    //交款时间
    @Column(name = "pay_time", length=255, columnDefinition = " VARCHAR(255) COMMENT '交款时间' ")
    private String payTime;

    //存放车辆
    @Column(name = "store_car", length=255, columnDefinition = " VARCHAR(255) COMMENT '存放车辆' ")
    private String storeCar;

    //保证金金额
    @Column(name = "deposit_money", length=255, columnDefinition = " VARCHAR(255) COMMENT '保证金金额' ")
    private String depositMoney;

    //保证金比例
    @Column(name = "deposit_ratio", length=255, columnDefinition = " VARCHAR(255) COMMENT '保证金比例' ")
    private String depositRatio;

    public String getFinishDate() {
        return finishDate;
    }

    public void setFinishDate(String finishDate) {
        this.finishDate = finishDate;
    }

    public String getMonthlyStatus() {
        return monthlyStatus;
    }

    public void setMonthlyStatus(String monthlyStatus) {
        this.monthlyStatus = monthlyStatus;
    }

    public String getSubmitDate() {
        return submitDate;
    }

    public void setSubmitDate(String submitDate) {
        this.submitDate = submitDate;
    }

    public String getAllocationReason() {
        return allocationReason;
    }

    public void setAllocationReason(String allocationReason) {
        this.allocationReason = allocationReason;
    }

    public String getAllocationOrderNum() {
        return allocationOrderNum;
    }

    public void setAllocationOrderNum(String allocationOrderNum) {
        this.allocationOrderNum = allocationOrderNum;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getFromWarehouse() {
        return fromWarehouse;
    }

    public void setFromWarehouse(String fromWarehouse) {
        this.fromWarehouse = fromWarehouse;
    }

    public String getAimWarehouse() {
        return aimWarehouse;
    }

    public void setAimWarehouse(String aimWarehouse) {
        this.aimWarehouse = aimWarehouse;
    }

    public String getAllocationStatus() {
        return allocationStatus;
    }

    public void setAllocationStatus(String allocationStatus) {
        this.allocationStatus = allocationStatus;
    }

    public String getAllocationType() {
        return allocationType;
    }

    public void setAllocationType(String allocationType) {
        this.allocationType = allocationType;
    }

    public String getAllocationNum() {
        return allocationNum;
    }

    public void setAllocationNum(String allocationNum) {
        this.allocationNum = allocationNum;
    }

    public String getAllocationDate() {
        return allocationDate;
    }

    public void setAllocationDate(String allocationDate) {
        this.allocationDate = allocationDate;
    }

    public String getApplicant() {
        return applicant;
    }

    public void setApplicant(String applicant) {
        this.applicant = applicant;
    }


    public String getOutWarehouseDate() {
        return outWarehouseDate;
    }

    public void setOutWarehouseDate(String outWarehouseDate) {
        this.outWarehouseDate = outWarehouseDate;
    }

    public String getEstimateBackDate() {
        return estimateBackDate;
    }

    public void setEstimateBackDate(String estimateBackDate) {
        this.estimateBackDate = estimateBackDate;
    }

    public String getEstimateOutDay() {
        return estimateOutDay;
    }

    public void setEstimateOutDay(String estimateOutDay) {
        this.estimateOutDay = estimateOutDay;
    }

    public String getCurrentApprovalStatus() {
        return currentApprovalStatus;
    }

    public void setCurrentApprovalStatus(String currentApprovalStatus) {
        this.currentApprovalStatus = currentApprovalStatus;
    }

    public String getRongzi() {
        return rongzi;
    }

    public void setRongzi(String rongzi) {
        this.rongzi = rongzi;
    }

    public String getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(String payMoney) {
        this.payMoney = payMoney;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public String getStoreCar() {
        return storeCar;
    }

    public void setStoreCar(String storeCar) {
        this.storeCar = storeCar;
    }

    public String getDepositMoney() {
        return depositMoney;
    }

    public void setDepositMoney(String depositMoney) {
        this.depositMoney = depositMoney;
    }

    public String getDepositRatio() {
        return depositRatio;
    }

    public void setDepositRatio(String depositRatio) {
        this.depositRatio = depositRatio;
    }

}
